// file:api.js
// 1、导入axios以及拦截器
import service from '../../request'

// 2、定义登录函数接口
export const tradeMarkPage = (pageNo,pageSize,data) => {
    return service({
        url: `/api/admin/product/baseTrademark/${pageNo}/${pageSize}`,
        method: 'get',
        data
    })
};

export const save = (data) => {
    return service({
        url: `/api/admin/product/baseTrademark/save`,
        method: 'post',
        data
    })
};

export const remove = (id) => {
    return service({
        url: `/api/admin/product/baseTrademark/remove/${id}`,
        method: 'delete'
    })
};

export const get = (id) => {
    return service({
        url: `/api//admin/product/baseTrademark/get/${id}`,
        method: 'get'
    })
};